import request from '@/utils/request'

// 获取钻孔数据列表
export function getAllDrillings(query) {
    return request({
        url: '/boreholeCoordinate/searchByProject/0',
        method: 'get',
        params: query
    })
}


// 获取剖面数据列表
export function getAllProfiles(query) {
    return request({
        url: '/profileCoordinate/search/0',
        method: 'get',
        params: query
    })
}

// 获取平面数据列表
export function getAllPlanes(query) {
    return request({
        url: '/polygonCoordinate/search/0',
        method: 'get',
        params: query
    })
}

// 钻孔 平面  剖面详情接口
export function getDetailGeological(query) {
    return request({
        url: '/boreholeDetail',
        method: 'get',
        params: query
    })
}
// 剖面详情接口
export function getDetailProfile(query) {
    return request({
        url: '/profileDetail',
        method: 'get',
        params: query
    })
}
// 剖面详情接口
export function getDetailpolygonDetail(query) {
    return request({
        url: '/polygonDetail',
        method: 'get',
        params: query
    })
}

// 获取文字报告数据列表
export function getAllReport(query) {
    return request({
        url: '/report/search/0',
        method: 'get',
        params: query
    })
}

// 模型列表接口 106.12.254.129:39896/pisserver/models


export function getAllModels(query) {
    return request({
        url: '/models',
        method: 'get',
        params: query
    })
}


export function getproHasData(query) {
    return request({
        url: '/dataStatistics',
        method: 'get',
        params: query
    })
}

